/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controllers;

import models.User;
import play.mvc.Controller;

/**
 *
 * @author lin
 */
public class Registration extends Controller{

    public static void index(){
        render();
    }

    public static void save(User user){
        //is activate -> false
        user.save();
        //send email
        render(user);
    }
}
